﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;

namespace _013_WCFServerDuplex
{
    [ServiceContract (CallbackContract =typeof(IServerCallback))]
    public interface IServerInterface
    {
        [OperationContract (IsOneWay =true)]
        void ProcessRequest(int []rq);
    }

    [ServiceContract]
    public interface IServerCallback
    {
        [OperationContract(IsOneWay =true)]
        void ShowResult(int[] rq);
    }
}
